package com.sfh.controller.rsp;

import java.util.Date;

import com.sfh.service.model.MassModel;

public class RspMass {
	long massId;
	long massUserId;// 创建者ID
	long noteSize;// 话题数量
	String massTitle;// 标题,

	String massContent;// 简介
	Date massCreateTime;// 创建时间
	String massUrl;
	int noteVip;// 特权查看 1:需要否则不需要

	public long todayMsgSize;
	public long todayNoteSize;
    long massConsumeWealth;
    
	public static RspMass createMass(MassModel model) {
		RspMass mass = new RspMass();
		mass.massId = model.getId();
		mass.massUserId = model.getUserId();
		mass.noteSize = model.getSize();
		mass.massTitle = model.getTitle();
		mass.massContent = model.getcontent();
		mass.massCreateTime = model.getTime();
		mass.massUrl = model.getUrl();
		mass.noteVip = model.getVip();
		mass.massConsumeWealth = model.getWealth();
		return mass;
	}
}
